package org.jix.gbook.user.dto.req;

import jakarta.validation.constraints.NotBlank;
import lombok.*;
import org.jix.framework.common.validator.PhoneNumber;

/**
 * @author stark
 * @date 2025/7/19 13:56
 * @description
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindUserByPhoneReqDTO {

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    @PhoneNumber
    private String phone;
}
